<template>
  <div class="outer">
    <h1>分类列表</h1>
    <div class="list">
      <Item title="美食">
        <img src="./assets/03.png" style="width: 100%" alt="" />
      </Item>
      <Item title="音乐"> 
        <div>
          <p>七里香</p>
          <p>爱我别走</p>
          <p>听妈妈的话</p>
        </div>
      </Item>
      <Item title="游戏"> 
        <video src="./assets/huahua.mp4" width="100%" autoplay muted></video>
      </Item>
    </div>
  </div>
</template>

<script>
import Item from "./components/Item.vue";
export default {
  name: "App",
  components: { Item },
  
};
</script>

<style scoped>
.outer {
  width: 1000px;
  margin: 0 auto;
}
.outer h1 {
  margin-left: 40px;
}
.list {
  display: flex;
  justify-content: space-around;
}
</style>